package com.scsj.supermarket.event;

import com.scsj.supermarket.bean.HomeClassifyBean;
import com.scsj.supermarket.bean.IndexGoodsListBean;
import com.scsj.supermarket.bean.ShopCartBean;
import com.scsj.supermarket.bean.homebean.HomeRecommendBean;

import java.util.List;
import java.util.Map;

/**
 * RxBus 事件定义
 */

public class FirstEvent {

    private String code;
    private int msg;
    private String latitude;
    private String longitude;
    private String city;
    private String title;
    private List data;
    private Map map;

    public FirstEvent(String code) {
        this.code = code;
    }

    public FirstEvent(String code, int msg) {
        this.code = code;
        this.msg = msg;
    }

    public FirstEvent(String code, Map map) {
        this.code = code;
        this.map = map;
    }

    public FirstEvent(String code, String title) {
        this.code = code;
        this.title = title;
    }

    public FirstEvent(String code, List data) {
        this.code = code;
        this.data = data;
    }

    public FirstEvent(String code, List data ,String title){
        this.code = code;
        this.data = data;
        this.title = title;
    }

    public FirstEvent(String code, String latitude, String longitude, String city) {
        this.code = code;
        this.latitude = latitude;
        this.longitude = longitude;
        this.city = city;
    }

    public String getLatitude() {
        return latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public String getCity() {
        return city;
    }

    public List getData() {
        return data;
    }

    public void setData(List data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getMsg() {
        return msg;
    }

    public void setMsg(int msg) {
        this.msg = msg;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setCity(String city) {
        this.city = city;
    }
    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public Map getMap() {
        return map;
    }

    public void setMap(Map map) {
        this.map = map;
    }
}
